//
//  DataModel.h
//  sHome
//
//  Created by tracyhenry on 2022/7/4.
//  Copyright © 2022 SiterWell. All rights reserved.
//

#ifndef DataModel_h
#define DataModel_h

#import <JSONModel/JSONModel.h>


@interface Msg:JSONModel

@property (nonatomic, strong) NSNumber *CMD_CODE;

@property (nonatomic, assign) NSString *str1;

@property (nonatomic, strong) NSString *str2;

@property (nonatomic, strong) NSString<Ignore> *str3;

@end

@interface DataModel:JSONModel

@property (nonatomic, strong) NSString *source;
@property (nonatomic, strong) NSString *target;
@property (nonatomic, strong) NSNumber *msg_id;

@property (nonatomic, strong) NSString *hw_id;

@property (nonatomic, strong) Msg *msg;

- (NSDictionary *)dicFromObject:(NSObject *)object;
@end

#endif /* DataModel_h */
